]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix modal dialog styling for network secret prompts
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 22 Aug 2012 02:23:56 +0000 (23:23 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 22 Aug 2012 03:34:12 +0000 (00:34 -0300)
https://bugzilla.gnome.org/show_bug.cgi?id=682412

data/theme/gnome-shell.css
js/ui/networkAgent.js

index ee6f01a3eca4cd0be699b5612e4960dc422771be..354d0b65253fbf074a16aed2c97ba00d04c0e8b2 100644 (file)
@@ -1874,6 +1874,7 @@ StButton.popup-menu-item:insensitive {
 
 .network-dialog-secret-table {
     spacing-rows: 15px;
+    spacing-columns: 1em;
 }
 
 .keyring-dialog-control-table {
index 8435a0950b7c8c053b8d52a9ce5ebfe4064933fd..f91a4bac52b27c72a39f2c0c2290d338ab298814 100644 (file)
@@ -135,7 +135,10 @@ const NetworkSecretDialog = new Lang.Class({
             } else
                 secret.valid = true;
 
-            secretTable.add(label, { row: pos, col: 0, x_expand: false, x_fill: true, x_align: St.Align.START, y_align: St.Align.START });
+            secretTable.add(label, { row: pos, col: 0,
+                                     x_expand: false, x_fill: true,
+                                     x_align: St.Align.START,
+                                     y_fill: false, y_align: St.Align.MIDDLE });
             secretTable.add(secret.entry, { row: pos, col: 1, x_expand: true, x_fill: true, y_align: St.Align.END });
             pos++;